package cn.iocoder.yudao.module.cmt.controller.admin.base.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 社区信息分页 Request VO")
@Data
public class BaseCommunityPageReqVO extends PageParam {

    @Schema(description = "社区编码")
    private String code;

    @Schema(description = "社区名称", example = "李四")
    private String name;

    @Schema(description = "地区编号", example = "110101")
    private Integer areaId;

    @Schema(description = "省份")
    private String province;

    @Schema(description = "城市")
    private String city;

    @Schema(description = "区县")
    private String district;

    @Schema(description = "街道")
    private String street;

    @Schema(description = "详细地址")
    private String address;

    @Schema(description = "联系人")
    private String contactPerson;

    @Schema(description = "联系电话")
    private String contactPhone;

    @Schema(description = "社区logo")
    private String logo;

    @Schema(description = "社区简介")
    private String introduction;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "状态：0停用 1启用", example = "2")
    private Integer status;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}